package com.ysd.web.entity;

import java.util.Date;
public class News {
		private int newid;
		private int ntid;
		private String title;
		private String introduction;
		private String content;
		private String createtime;
		private String iscarefully;
		private int nid;
		private String ntype;
		private int pid;
		
		public int getNid() {
			return nid;
		}
		public void setNid(int nid) {
			this.nid = nid;
		}
		public String getNtype() {
			return ntype;
		}
		public void setNtype(String ntype) {
			this.ntype = ntype;
		}
		
		public News(int newid, int ntid, String title, String introduction,
				String content, String createtime, String iscarefully) {
			super();
			this.newid = newid;
			this.ntid = ntid;
			this.title = title;
			this.introduction = introduction;
			this.content = content;
			this.createtime = createtime;
			this.iscarefully = iscarefully;
		}
		public News() {
			super();
			// TODO Auto-generated constructor stub
		}
		public int getNewid() {
			return newid;
		}
		public void setNewid(int newid) {
			this.newid = newid;
		}
		public int getNtid() {
			return ntid;
		}
		public void setNtid(int ntid) {
			this.ntid = ntid;
		}
		public String getTitle() {
			return title;
		}
		public void setTitle(String title) {
			this.title = title;
		}
		public String getIntroduction() {
			return introduction;
		}
		public void setIntroduction(String introduction) {
			this.introduction = introduction;
		}
		public String getContent() {
			return content;
		}
		public void setContent(String content) {
			this.content = content;
		}
		public String getCreatetime() {
			return createtime;
		}
		public void setCreatetime(String createtime) {
			this.createtime = createtime;
		}
		public String getIscarefully() {
			return iscarefully;
		}
		public void setIscarefully(String iscarefully) {
			this.iscarefully = iscarefully;
		}
		
		public int getPid() {
			return pid;
		}
		public void setPid(int pid) {
			this.pid = pid;
		}
		@Override
		public String toString() {
			return "News [newid=" + newid + ", ntid=" + ntid + ", title="
					+ title + ", introduction=" + introduction + ", content="
					+ content + ", createtime=" + createtime + ", iscarefully="
					+ iscarefully + "]";
		}
		
		
}
